gdk: Add GdkCairoContext
authorBenjamin Otte <otte@redhat.com>
Wed, 11 Apr 2018 22:16:43 +0000 (00:16 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 24 Apr 2018 21:16:12 +0000 (23:16 +0200)
commitf3967860519981b30a01268d6fb459ba1a79d624
treee3087543a0d66096dc343fd5782d69f1272855bc
parent2210b9a30254b4e1c648a4c7cf3333bab34b00c9
gdk: Add GdkCairoContext

This does nothing but disallow passing NULL to gdk_surface_begin_paint()
and instead require this context.

The ultimate goal is to split out Cairo drawing into its own source file
so it doesn't clutter up the generic rendering path.
docs/reference/gdk/gdk4-sections.txt
gdk/gdk.h
gdk/gdkcairocontext.c [new file with mode: 0644]
gdk/gdkcairocontext.h [new file with mode: 0644]
gdk/gdkcairocontextprivate.h [new file with mode: 0644]
gdk/gdkdrawingcontext.c
gdk/gdksurface.c
gdk/gdksurface.h
gdk/gdktypes.h
gdk/meson.build
gsk/gskcairorenderer.c